import axios from '@/libs/request/axios'

/**
 * 查询进件申请-订单管理
 * @param params
 * @returns {*}
 */
export const getLoanApplyList = (params) => {
    return axios.request({
        url: '/apply/orderMng/getLoanApplyList',
        method: 'POST',
        data: params,
    })
}
/**
 * 删除订单信息
 * @param params
 * @returns {*}
 */
export const deleteOrderInfo = (params) => {
    return axios.request({
        url: '/apply/orderMng/delete',
        method: 'POST',
        data: params,
    })
}

/**
 * 保存加急信息
 * @param params
 * @returns {*}
 */
export const saveUrgent = (params) => {
    return axios.request({
        url: '/apply/orderMng/saveUrgent',
        method: 'POST',
        params: params,
    })
}

/**
 * 保存撤回原因
 * @param params
 * @returns {*}
 */
export const saveBack = (params) => {
    return axios.request({
        url: '/apply/orderMng/saveBack',
        method: 'POST',
        params: params,
    })
}
/**
 * 订单复制
 * @param params
 * @returns {*}
 */
export const saveCopy = (params) => {
    return axios.request({
        url: '/apply/orderMng/saveCopy',
        method: 'POST',
        params: params,
    })
}
/**
 * 获取转单人员
 * @param params
 * @returns {*}
 */
export const getTransferUser = (params) => {
    return axios.request({
        url: '/admin/applyUser/getTransferUser',
        method: 'POST',
        params: params,
    })
}

/**
 * 转单
 * @param params
 * @returns {*}
 */
export const transferData = (params) => {
    return axios.request({
        url: '/apply/orderMng/transferData',
        method: 'POST',
        data: params,
    })
}

/**
 * 加急MQ
 * @param params
 * @returns {*}
 */
export const sendForEmergencyCaseSubmit = (params) => {
    return axios.request({
        url: '/apply/applyReport/sendForEmergencyCaseSubmit',
        method: 'POST',
        data: params,
    })
}
/**
 * 贷前资产变更数据留痕
 * @param params
 * @returns {*}
 */
export const saveAssertData = (params) => {
    return axios.request({
        url: '/apply/applyReport/saveAssertData',
        method: 'POST',
        data: params,
    })
}
/**
 * 复议MQ
 * @param params
 * @returns {*}
 */
export const saveReconsiderCaseSubmit = (params) => {
    return axios.request({
        url: '/apply/applyReport/saveReconsiderCaseSubmit',
        method: 'POST',
        data: params,
    })
}
/**
 * 撤销
 * @param params
 * @returns {*}
 */
export const applyCancel = (params) => {
    return axios.request({
        url: '/apply/applyReport/applyCancel',
        method: 'POST',
        data: params,
    })
}

/**
 * 撤回MQ
 * @param params
 * @returns {*}
 */
export const sendForCallBackCaseSubmit = (params) => {
    return axios.request({
        url: '/apply/applyReport/callBackCaseSubmit',
        method: 'POST',
        data: params,
    })
}


